cmake_minimum_required(VERSION 3.10)
project(bid)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS OFF) #-std=c++11/-std=gnu++11

#source dircetory
list(APPEND LIST_ALL_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
    )

include_directories(${LIST_ALL_SOURCE_DIR})

FOREACH(EVERY_DIR ${LIST_ALL_SOURCE_DIR})
aux_source_directory(${EVERY_DIR} SRC_LIST_TMP)
list(APPEND SRC_LIST_ALL ${SRC_LIST_TMP})
ENDFOREACH(EVERY_DIR) #end foreach

add_executable(bid ${SRC_LIST_ALL})
